package com.market.mapper;


import com.market.bean.MarketChannel;
import com.market.bean.MarketChannelExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MarketChannelMapper {
    long countByExample(MarketChannelExample example);

    int deleteByExample(MarketChannelExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketChannel record);

    int insertSelective(MarketChannel record);

    List<MarketChannel> selectByExample(MarketChannelExample example);

    MarketChannel selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketChannel record, @Param("example") MarketChannelExample example);

    int updateByExample(@Param("record") MarketChannel record, @Param("example") MarketChannelExample example);

    int updateByPrimaryKeySelective(MarketChannel record);

    int updateByPrimaryKey(MarketChannel record);
}